Judah had more territory than needed and the tribe of Simeon was given territory within Judah (Josh. 19:1-9); this was in fulfilment of Jacob’s prophecy that Simeon would be scattered within Israel (Gen. 49:5-7). Later, part of Simeon moved north (2 Chron. 15:9; 34:6).
The territory allotted to the tribe of Dan extended from the west of that of Ephraim and Benjamin to the sea. It was a small territory and being pressed by the Amorites and the Philistines, whom they were unable to conquer, the tribe migrated north to a region close to the sources of the Jordan River and established the city of Dan (Josh. 19:47). The city was spoken of as the northern limit of Palestine, the length of which came to be denoted by the expression "from Dan to Beersheba" (in the south) – a length of about 144 miles.